package cn.com.nes.mybatis.callcenter.mapper;

import cn.com.nes.mybatis.callcenter.entity.WorkOrderRecord;
import cn.com.nes.site.service.workOrder.dto.callCenter.WorkOrderRecordListDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

/**
 * @author yishuai
 */
public interface WorkOrderRecordMapper extends BaseMapper<WorkOrderRecord> {

    /**
     * 将工单状态置为删除
     * @return
     */
    int deleteOrderRecordByOrderInfoId(WorkOrderRecord workOrderRecord);

    /**
     *获取工单记录记录接口
     * @param workOrderId  工单id
     * @return 工单记录
     */
    List<WorkOrderRecordListDto> getWorkOrderRecordList(@Param("workOrderIdList") ArrayList<Long> workOrderIdList);

}



















